const Tabbar = () =>
    import('@/components/Tabbar/');

export default [{
    path: '/order',
    name: 'cart',
    meta: {
        title: '购物车',
        keepAlive: false,
        // 判断是否登录
        login: true
    },
    components: {
        default: () =>
            import('@/views/order/tabbar-cart'),
    }
},
{
    path: '/order/checkout',
    name: 'orderCheckout',
    component: () =>
        import('@/views/order/checkout'),
    meta: {
        title: '订单详情'
    }
},
{
    path: '/order/order-detail',
    name: 'orderDetail',
    component: () =>
        import('@/views/order/order-detail')
},
{
    path: '/order/order-detail-client',
    name: 'orderDetailClient',
    component: () =>
        import('@/views/order/order-detail-client')
},
{
    path: '/order/payment',
    name: 'payment',
    component: () =>
        import('@/views/order/payment')
},
{
    path: '/order/payment/:status',
    name: 'paymentStatus',
    component: () =>
        import('@/views/order/payment-status'),
    props: true
},
{
    path: '/order/payment-vip/:status',
    name: 'paymentVipStatus',
    component: () =>
        import('@/views/order/payment-status/vipIndex.vue'),
    props: true
},
{
    path: '/order/payment-ten/:status',
    name: 'paymentTenStatus',
    component: () =>
        import('@/views/order/payment-status/tenIndex.vue'),
    props: true
}

];